\startproduct mkiv
\environment doc-env

\component cover

\startfrontmatter
    \setuppagenumbering[conversion=romannumerals]
    \setuppagenumber[number=1]
    \pagereference[Content]

    \completecontent
    \completelistoffigures
    \completelistoftables
\stopfrontmatter

\startbodymatter
    \setuppagenumbering[conversion=numbers]
    \setuppagenumber[number=1]
    \setups{HeaderFooter}

    \component ch1
    \component ch2
\stopbodymatter

\startappendices
    \completepublications
    \completeindex
\stopappendices

\startbackmatter
\stopbackmatter

\stopproduct

